import { Code, DateTime, Desc, PrimaryUuid, Title } from "@sker/core";
import { Entity } from "typeorm";

@Entity({ name: 'spider_flash' })
export class SpiderFlash {

    @PrimaryUuid()
    id: string;

    @Code()
    hash: string;

    @DateTime()
    publish_time: Date;

    @Title()
    title: string;

    @Desc()
    content: string;

    @Code()
    from: string;
}